<?php
namespace Client\Model;
use Think\Model\ViewModel;

class PublishDiscussViewModel extends ViewModel{
	public $viewFields = array(
			'PublishDiscuss' =>array('content','ctime','aid','raid','_type'=>'LEFT'),
			'Account' =>array('nickname','headimgurl','_on'=>'Account.id=PublishDiscuss.aid','_type'=>'LEFT'),
			'RAccount' =>array('_table'=>'tb_account','nickname'=>'rnickname','_on'=>'RAccount.id=PublishDiscuss.raid'),
	);
}
?>